package com.qkl.user.service;

import com.qkl.user.dto.ChangePasswordDto;
import com.qkl.user.dto.UserDto;
import com.qkl.user.dto.user.ForgetPasswordDto;
import com.qkl.user.entity.Problem;
import com.qkl.user.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface UserService {

     List<Problem> getProblems();

     UserDto getUserDtoInviteCode(String inviteCode);

     UserDto getUserDtoId();

     String changeAvatar(@Param("file") MultipartFile file);

     boolean bindAddress(String address);

     User getUserAddress(String address);

     void changePassword(ChangePasswordDto changePasswordDto);

     void  forgetPassword(ForgetPasswordDto forgetPasswordDto);
}
